var http = require('http');

http.request({
  url: 'http://appengine.oss-cn-hangzhou.aliyuncs.com/httpTest.txt',
  method: 'GET',
  headers: {
    'content-type': 'application/json'
  },
  timeout: 30000,
  success: function (response) {
    console.log(response);
  }
});